﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Tranco.Home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Công ty TNHH thương mại & dịch vụ vận tải Hương Thảo</title>
    <script src="JS/jquery.js" type="text/javascript"></script>
    <script src="JS/jquery.min.js" type="text/javascript"></script>
    <script src="JS/jquery.bpopup-0.7.0.min.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        $(document).ready(function () {

            $('#popupInfo').hide();
            $('#popupContact').hide();

            $('#info').click(function () {
                $('#popupInfo').bPopup({
                    fadeSpeed: 500,
                    modalColor: 'gray'
                });
            });

            $('#contact').click(function () {
                $('#popupContact').bPopup({
                    fadeSpeed: 500,
                    modalColor: 'gray'
                });
            });
            


            var height;
            var width;
            height = $(window).height();
            width = $(window).width();
            $('#home').css('height', height);
            $('#main').css('margin-left', ((width - 1226) / 2));


            $(window).resize(function () {
                height = $(window).height();
                width = $(window).width();
                $('#home').css('height', height);
                $('#main').css('margin-left', ((width - 1226) / 2));

            });
        });
        function openWindow(url) {
            window.open(url, '_blank');
            window.focus();
        }

    </script>
    <link href="CSS/home.css" rel="stylesheet" type="text/css" />
    <link href="CSS/root.css" rel="stylesheet" type="text/css" />
    <link href="CSS/reset.css" rel="stylesheet" type="text/css" />
    <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
</head>
<body id="home" style="background-color: #f0f0f0;">
    <div id="main" style="background: url(../Images/bgr.jpg); background-size: 1226px 800px;
        background-repeat: no-repeat; border: none; box-shadow: none; border-radius: 0px;
        width: 1226px; height: 800px;">
        <div>
            <div>
            </div>
            <div id="headMenuRight" class="headMenuRight">
                <div style="float: left;">
                    <img style="margin-right: 60px;" src="Images/logo-home.png" />
                </div>
                <div runat="server">
                    <a id="homePage" href="../Home.aspx">TRANG CHỦ</a> <a id="info" href="" onclick="return false;">THÔNG TIN</a>
                    <a href="http://www4.livegps.vn" onclick="javascript:openWindow(this.href);return false;">LỊCH TRÌNH</a> <a id="contact" href="" onclick="return false;">LIÊN HỆ</a>
                </div>
            </div>
            <div id="logo" style="height: 379px;">
            </div>
            <div>
                <div class="clear">
                </div>
                <div style="padding-left: 179px;">
                    <div class="rain">
                        <div class="border start">
                            <form runat="server">
                            <label for="lblUser" style="padding: 0px;">
                                Tên đăng nhập:</label>
                            <input id="txtUser" type="text" placeholder="Tên đăng nhập" runat="server" />
                            <label for="lblPass" style="padding: 0px;">
                                Mật khẩu</label>
                            <input id="txtPass" type="password" placeholder="Mật khẩu" runat="server" />
                            <div class="clear">
                            </div>
                            <asp:Button ID="Button1" runat="server" Text="Đăng nhập" OnClick="Button1_Click"
                                Style="margin-right: 90px; margin-top: 0; width: 139px; outline: 0 none;" type="submit" />
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="popupInfo" style="border-radius: 4px; width: 1024px; height: 588px; margin-top: 46px; opacity: 0.8; background-color: #E1F7FF">
            <iframe src="InformationPopup.aspx" width="1024px" height="588px"></iframe>
        </div>
        <div id="popupContact" style="border-radius: 4px; width: 1024px; height: 588px; margin-top: 46px; opacity: 0.8; background-color: #E1F7FF">
            <iframe src="Contact.aspx" width="1024px" height="588px"></iframe>
        </div>
    </div>
    <!-- END FOOTER -->
</body>
</html>
